package com.lagou.demo.service.imp;

import com.lagou.demo.service.DemoService;
import com.lagou.edu.mvcframework.annotations.MyService;

/**
 * TODO
 *
 * @author chenx
 * @date 2021/4/27
 */
@MyService("demoService")
public class DemoServiceImp implements DemoService {
    @Override
    public String query(String name) {
        System.out.println("service中的参数："+name);
        return name;
    }
}
